<template>
  <div>
    <h1>App:count:{{ count }}</h1>
    <!-- 给子组件标签上 通过属性的方式 传递一些值 -->
    <Header :count="count"/>
    <Footer />
  </div>
</template>

<script>
import Header from "./components/Header";
import Footer from "./components/Footer";
export default {
  name: "App",
  components: {
    Header,
    Footer,
  },
  data() {
    return {
      count: 0,
    };
  },
  methods: {},
};
</script>

<style></style>
